.class final Lcom/ninesky/browser/view/i;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/CompoundButton$OnCheckedChangeListener;


# instance fields
.field private synthetic a:Lcom/ninesky/browser/view/aa;


# direct methods
.method constructor <init>(Lcom/ninesky/browser/view/aa;)V
    .locals 0

    iput-object p1, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public final onCheckedChanged(Landroid/widget/CompoundButton;Z)V
    .locals 4

    if-eqz p2, :cond_0

    iget-object v0, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-static {v0}, Lcom/ninesky/browser/view/aa;->a(Lcom/ninesky/browser/view/aa;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-static {v1}, Lcom/ninesky/browser/view/aa;->a(Lcom/ninesky/browser/view/aa;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v1

    iget-object v2, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    iget-object v2, v2, Lcom/ninesky/browser/view/aa;->a:Ljava/lang/String;

    iget-object v3, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-virtual {v3}, Lcom/ninesky/browser/view/aa;->a()Ljava/lang/String;

    move-result-object v3

    invoke-static {v0, v1, v2, v3}, Lcom/ninesky/browser/provider/b;->a(Landroid/content/Context;Landroid/content/ContentResolver;Ljava/lang/String;Ljava/lang/String;)V

    :goto_0
    return-void

    :cond_0
    iget-object v0, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-static {v0}, Lcom/ninesky/browser/view/aa;->a(Lcom/ninesky/browser/view/aa;)Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    invoke-static {v1}, Lcom/ninesky/browser/view/aa;->a(Lcom/ninesky/browser/view/aa;)Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v1

    iget-object v2, p0, Lcom/ninesky/browser/view/i;->a:Lcom/ninesky/browser/view/aa;

    iget-object v2, v2, Lcom/ninesky/browser/view/aa;->a:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/ninesky/browser/provider/b;->a(Landroid/content/Context;Landroid/content/ContentResolver;Ljava/lang/String;)V

    goto :goto_0
.end method
